﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using middleware.utiles;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;

namespace middleware.dominio
{
    [Table("BandejasSalida")]
    public class BandejaSalida
    {
        [Key, DatabaseGenerated(DatabaseGeneratedOption.Identity)]
        public int BandejaId { get; set; }
        public string nombre { get; set; }
        public string configuracion { get; set; }
        public ITipoBandejaSalida tipoBandeja { get; set; }
        public string nombreTipoBandeja { get; set; }        
        
        override
        public string ToString()
        {
            return nombre;
        }

    }
}
